package com.codegeek.project.slope.mapper;

import com.codegeek.project.slope.domain.SlopeRepairRecord;
import java.util.List;

/**
 * 设备维修记录Mapper接口
 * 
 * @author codegeek
 * @date 2020-02-17
 */
public interface SlopeRepairRecordMapper 
{
    /**
     * 查询设备维修记录
     * 
     * @param repairRecordId 设备维修记录ID
     * @return 设备维修记录
     */
    public SlopeRepairRecord selectSlopeRepairRecordById(Long repairRecordId);

    /**
     * 查询设备维修记录列表
     * 
     * @param slopeRepairRecord 设备维修记录
     * @return 设备维修记录集合
     */
    public List<SlopeRepairRecord> selectSlopeRepairRecordList(SlopeRepairRecord slopeRepairRecord);

    /**
     * 新增设备维修记录
     * 
     * @param slopeRepairRecord 设备维修记录
     * @return 结果
     */
    public int insertSlopeRepairRecord(SlopeRepairRecord slopeRepairRecord);

    /**
     * 修改设备维修记录
     * 
     * @param slopeRepairRecord 设备维修记录
     * @return 结果
     */
    public int updateSlopeRepairRecord(SlopeRepairRecord slopeRepairRecord);

    /**
     * 删除设备维修记录
     * 
     * @param repairRecordId 设备维修记录ID
     * @return 结果
     */
    public int deleteSlopeRepairRecordById(Long repairRecordId);

    /**
     * 批量删除设备维修记录
     * 
     * @param repairRecordIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteSlopeRepairRecordByIds(Long[] repairRecordIds);
}
